package online.longzipeng.householdbillssystem.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import online.longzipeng.householdbillssystem.business.dto.user.UserQueryResponseDTO;
import online.longzipeng.householdbillssystem.business.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import online.longzipeng.householdbillssystem.business.vo.querey.QueryVO;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lzp
 * @since 2021-04-17
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    /**
     * 条件查询带分页
     */
    IPage<UserQueryResponseDTO> getListPage(Page<UserQueryResponseDTO> page, QueryVO queryVO);
}
